package day617parameter;

public class demo02 {
    public static void main(String[] args) {
        demo02 d = new demo02();
        int i = 10;
        System.out.println("在调用参数i之前，i的值为" + i);
        d.pass(i);
        System.out.println("在调用参数i之后，i的值为" + i);
    }
    public void pass(int i){
        i *= 3;
        System.out.println("方法中i的值为" + i);
    }
}
